package com.deercrowing.takeaway;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cache.annotation.EnableCaching;
import org.springframework.scheduling.annotation.EnableScheduling;

@SpringBootApplication(
	scanBasePackages = "com.deercrowing.takeaway"
)
@MapperScan(
	basePackages = "com.deercrowing.takeaway.dao"
)
@EnableCaching// 开启缓存
@EnableScheduling// 开启任务调度
public class TakeawayBackendServerApplication {

	public static void main(String[] args) {
		SpringApplication.run(TakeawayBackendServerApplication.class, args);
	}

}
